<?php
// +----------------------------------------------------------------------
// | Description: VideoGroup分组数据表
// +----------------------------------------------------------------------
// | Author: xiaoliu <528772568@qq.com>
// +----------------------------------------------------------------------
namespace app\common\model;

use think\Model;

class VideoGroup extends Model
{
    // 开启自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';
    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    protected function getPicurlAttr($value)
    {
        if (!$value) {
            $value = checkLinkAttr('/assets/img/def.png');
        }else{
            $value = checkLinkAttr($value);
        }
        return $value;
    }
}
